home *** CD-ROM | disk | FTP | other *** search
- Path: rcp6.elan.af.mil!rscernix!root
- From: danpop@mail.cern.ch (Dan Pop)
- Newsgroups: comp.lang.c
- Subject: Re: How to make it BEEP ?
- Date: 20 Mar 96 15:13:28 GMT
- Organization: CERN European Lab for Particle Physics
- Message-ID: <root.827334808@rscernix>
- References: <4ihuuh$6ul@hatathli.csulb.edu> <4in0ih$o43@zeus.intellinet.com> <4in5r1$j90@druid.borland.com> <4inmv1$ljj@sunburst.ccs.yorku.ca> <Pine.A32.3.91.960320023324.87028G-100000@red.weeg.uiowa.edu>
- NNTP-Posting-Host: ues5.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
-
- In <Pine.A32.3.91.960320023324.87028G-100000@red.weeg.uiowa.edu> The Amorphous Mass <robinson@blue.weeg.uiowa.edu> writes:
-
- >On 20 Mar 1996, Shahed A. Quazi wrote:
- >
- >> I was wondering if anyone would be kind enough to tell me if there is a
- >> C function on unix that I can use to make a beep sound. If it's not
- >> there,I would really appreciate if someone could give me the code.
- >
- > putc('\a'); /* will work on all platforms that support ANSI C */
-
- Not quite. Calling a function with the wrong number of arguments
- actually invokes undefined behaviour.
-
- BTW, if my terminal's bell is broken, does this make my implementation
- non-conformant? :-)
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-